package top.majuan.lianxi.service;

import top.majuan.lianxi.base.PageBean;
import top.majuan.lianxi.base.R;
import top.majuan.lianxi.entity.TbCpu;
import top.majuan.lianxi.vo.PageVo;

public interface TbCpuService {

    R<String> insert(TbCpu tbCpu);

    R<String> update(TbCpu tbCpu);

    R<TbCpu> queryByid(Integer id);

    R<String> delete(Integer id);

    R<PageVo<TbCpu>> queryPage(PageBean pageBean, TbCpu tbCpu);
}
